home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Dev / fpc / source / docs / refex / ex85.pp < prev    next >
Encoding:
Text File  |  2000-01-01  |  169 b   |  12 lines

  1. Program Example85;
  2.  
  3. { Program to demonstrate the SetLength function. }
  4.  
  5. Var S : String;
  6.  
  7. begin
  8.   FillChar(S[1],100,#32);
  9.   Setlength(S,100);
  10.   Writeln ('"',S,'"');
  11. end.
  12.